package com.zretc.dao;

import com.zretc.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 员工mapper
 * @author wangxinghang
 */
@Mapper
@Repository
public interface EmployeeMapper {

    int add(Employee employee);

    int delete(Integer id);
    int update(Employee employee);

    List<Employee> findBy(Map<String,Object> map);
    Integer getMaxWorkId();
}
